﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VisionCore
{
    public class PRM_Speed
    {
        private double _TrackSW1_Y_Vel;
        [DisplayName("10.Entry1_TrackSW_Y轴运转速度"),Description("Entry1_TrackSW_Y轴运转速度(mm/s)")]
        public double TrackSW1_Y_Vel
        {
            get { return _TrackSW1_Y_Vel; }

            set
            {
                _TrackSW1_Y_Vel = value;
                if (_TrackSW1_Y_Vel > 1000)
                {
                    _TrackSW1_Y_Vel = 1000;  
                }
                if (_TrackSW1_Y_Vel < 10)
                {
                    _TrackSW1_Y_Vel = 10;
                }
            }
        }
        private double _TrackSW2_Y_Vel;
        [DisplayName("11.Entry2_TrackSW_Y轴运转速度"), Description("Entry2_TrackSW_Y轴运转速度(mm/s)")]
        public double TrackSW2_Y_Vel
        {
            get { return _TrackSW2_Y_Vel; }

            set
            {
                _TrackSW2_Y_Vel = value;
                if (_TrackSW2_Y_Vel > 1000)
                {
                    _TrackSW2_Y_Vel = 1000;
                }
                if (_TrackSW2_Y_Vel < 10)
                {
                    _TrackSW2_Y_Vel = 10;
                }
            }
        }

        private double _Insp1_CCD_X_Vel;
        [DisplayName("12.Insp1_CCD_X轴运转速度"), Description("Insp1_CCD_X轴运转速度(mm/s)")]
        public double CCD1_X_Vel
        {
            get { return _Insp1_CCD_X_Vel; }

            set
            {
                _Insp1_CCD_X_Vel = value;
                if (_Insp1_CCD_X_Vel > 500)
                {
                    _Insp1_CCD_X_Vel = 500;
                }
                if (_Insp1_CCD_X_Vel < 10)
                {
                    _Insp1_CCD_X_Vel = 10;
                }
            }
        }
        private double _Insp1_CCD_Y_Vel;
        [DisplayName("13.Insp1_CCD_Y轴运转速度"), Description("Insp1_CCD_Y轴运转速度(mm/s)")]
        public double CCD1_Y_Vel
        {
            get { return _Insp1_CCD_Y_Vel; }

            set
            {
                _Insp1_CCD_Y_Vel = value;
                if (_Insp1_CCD_Y_Vel > 500)
                {
                    _Insp1_CCD_Y_Vel = 500;
                }
                if (_Insp1_CCD_Y_Vel < 10)
                {
                    _Insp1_CCD_Y_Vel = 10;
                }
            }
        }
        private double _Insp1_CCD_Z_Vel;
        [DisplayName("14.Insp1_CCD_Z轴运转速度"), Description("Insp1_CCD_Z轴运转速度(mm/s)")]
        public double CCD1_Z_Vel
        {
            get { return _Insp1_CCD_Z_Vel; }

            set
            {
                _Insp1_CCD_Z_Vel = value;
                if (_Insp1_CCD_Z_Vel > 500)
                {
                    _Insp1_CCD_Z_Vel = 500;
                }
                if (_Insp1_CCD_Z_Vel < 10)
                {
                    _Insp1_CCD_Z_Vel = 10;
                }
            }
        }

        private double _Insp2_CCD_X_Vel;
        [DisplayName("15.Insp2_CCD_X轴运转速度"), Description("Insp2_CCD_X轴运转速度(mm/s)")]
        public double CCD2_X_Vel
        {
            get { return _Insp2_CCD_X_Vel; }

            set
            {
                _Insp2_CCD_X_Vel = value;
                if (_Insp2_CCD_X_Vel > 500)
                {
                    _Insp2_CCD_X_Vel = 500;
                }
                if (_Insp2_CCD_X_Vel < 10)
                {
                    _Insp2_CCD_X_Vel = 10;
                }
            }
        }
        private double _Insp2_CCD_Y_Vel;
        [DisplayName("16.Insp2_CCD_Y轴运转速度"), Description("Insp2_CCD_Y轴运转速度(mm/s)")]
        public double CCD2_Y_Vel
        {
            get { return _Insp2_CCD_Y_Vel; }

            set
            {
                _Insp2_CCD_Y_Vel = value;
                if (_Insp2_CCD_Y_Vel > 500)
                {
                    _Insp2_CCD_Y_Vel = 500;
                }
                if (_Insp2_CCD_Y_Vel < 10)
                {
                    _Insp2_CCD_Y_Vel = 10;
                }
            }
        }
        private double _Insp2_CCD_Z_Vel;
        [DisplayName("17.Insp2_CCD_Z轴运转速度"), Description("Insp2_CCD_Z轴运转速度(mm/s)")]
        public double CCD2_Z_Vel
        {
            get { return _Insp2_CCD_Z_Vel; }

            set
            {
                _Insp2_CCD_Z_Vel = value;
                if (_Insp2_CCD_Z_Vel > 300)
                {
                    _Insp2_CCD_Z_Vel = 300;
                }
                if (_Insp2_CCD_Z_Vel < 10)
                {
                    _Insp2_CCD_Z_Vel = 10;
                }
            }
        }

        private double _CV1_Driver_Vel;
        [DisplayName("18.CV1_Driver运转速度"), Description("入料口1CV运转速度(mm/s)")]
        public double CV1_Driver_Vel
        {
            get { return _CV1_Driver_Vel; }

            set
            {
                _CV1_Driver_Vel = value;
                if (_CV1_Driver_Vel > 300)
                {
                    _CV1_Driver_Vel = 300;
                }
                if (_CV1_Driver_Vel < 10)
                {
                    _CV1_Driver_Vel = 10;
                }
            }
        }
        private double _CV2_Driver_Vel;
        [DisplayName("19.CV2_Driver运转速度"), Description("入料口2CV运转速度(mm/s)")]
        public double CV2_Driver_Vel
        {
            get { return _CV2_Driver_Vel; }

            set
            {
                _CV2_Driver_Vel = value;
                if (_CV2_Driver_Vel > 300)
                {
                    _CV2_Driver_Vel = 300;
                }
                if (_CV2_Driver_Vel < 10)
                {
                    _CV2_Driver_Vel = 10;
                }
            }
        }
        private double _Insp1_CV_Vel;
        [DisplayName("20.Insp1_CV运转速度"), Description("Insp1_CV运转速度(mm/s)")]
        public double Insp1_CV_Vel
        {
            get { return _Insp1_CV_Vel; }

            set
            {
                _Insp1_CV_Vel = value;
                if (_Insp1_CV_Vel > 300)
                {
                    _Insp1_CV_Vel = 300;
                }
                if (_Insp1_CV_Vel < 10)
                {
                    _Insp1_CV_Vel = 10;
                }
            }
        }
        private double _Insp2_CV_Vel;
        [DisplayName("21.Insp2_CV运转速度"), Description("Insp2_CV运转速度(mm/s)")]
        public double Insp2_CV_Vel
        {
            get { return _Insp2_CV_Vel; }

            set
            {
                _Insp2_CV_Vel = value;
                if (_Insp2_CV_Vel > 300)
                {
                    _Insp2_CV_Vel = 300;
                }
                if (_Insp2_CV_Vel < 10)
                {
                    _Insp2_CV_Vel = 10;
                }
            }
        }
        private double _Insp3_CV_Vel;
        [DisplayName("22.Insp3_CV运转速度"), Description("Insp3_CV运转速度(mm/s)")]
        public double Insp3_CV_Vel
        {
            get { return _Insp3_CV_Vel; }
            set
            {
                _Insp3_CV_Vel = value;
                if (_Insp3_CV_Vel > 300)
                {
                    _Insp3_CV_Vel = 300;
                }
                if (_Insp3_CV_Vel < 10)
                {
                    _Insp3_CV_Vel = 10;
                }
            }
        }
        private double _Insp4_CV_Vel;
        [DisplayName("23.Insp4_CV运转速度"), Description("Insp4_CV运转速度(mm/s)")]
        public double Insp4_CV_Vel
        {
            get { return _Insp4_CV_Vel; }
            set
            {
                _Insp4_CV_Vel = value;
                if (_Insp4_CV_Vel > 300)
                {
                    _Insp4_CV_Vel = 300;
                }
                if (_Insp4_CV_Vel < 10)
                {
                    _Insp4_CV_Vel = 10;
                }
            }
        }
        private double _Entry1_CV_Y_Vel;
        [DisplayName("24.Entry1_CV_Y轴运转速度"), Description("入料口1CV_Y轴运转速度(mm/s)")]
        public double CV_Y_Vel
        {
            get { return _Entry1_CV_Y_Vel; }
            set
            {
                _Entry1_CV_Y_Vel = value;
                if (_Entry1_CV_Y_Vel > 300)
                {
                    _Entry1_CV_Y_Vel = 300;
                }
                if (_Entry1_CV_Y_Vel < 10)
                {
                    _Entry1_CV_Y_Vel = 10;
                }
            }
        }

        private double _Insp1_Y_Vel;
        [DisplayName("26.Insp1_Y轴运转速度"), Description("Insp1_Y轴运转速度(mm/s)")]
        public double Insp1_Y_Vel
        {
            get { return _Insp1_Y_Vel; }
            set
            {
                _Insp1_Y_Vel = value;
                if (_Insp1_Y_Vel > 300)
                {
                    _Insp1_Y_Vel = 300;
                }
                if (_Insp1_Y_Vel < 10)
                {
                    _Insp1_Y_Vel = 10;
                }
            }
        }
        private double _Insp2_Y_Vel;
        [DisplayName("27.Insp2_Y轴运转速度"), Description("Insp2_Y轴运转速度(mm/s)")]
        public double Insp2_Y_Vel
        {
            get { return _Insp2_Y_Vel; }
            set
            {
                _Insp2_Y_Vel = value;
                if (_Insp2_Y_Vel > 300)
                {
                    _Insp2_Y_Vel = 300;
                }
                if (_Insp2_Y_Vel < 10)
                {
                    _Insp2_Y_Vel = 10;
                }
            }
        }
        private double _Insp3_Y_Vel;
        [DisplayName("28.Insp3_Y轴运转速度"), Description("Insp3_Y轴运转速度(mm/s)")]
        public double Insp3_Y_Vel
        {
            get { return _Insp3_Y_Vel; }
            set
            {
                _Insp3_Y_Vel = value;
                if (_Insp3_Y_Vel > 300)
                {
                    _Insp3_Y_Vel = 300;
                }
                if (_Insp3_Y_Vel < 10)
                {
                    _Insp3_Y_Vel = 10;
                }
            }
        }
        private double _Insp4_Y_Vel;
        [DisplayName("29.Insp4_Y轴运转速度"), Description("Insp4_Y轴运转速度(mm/s)")]
        public double Insp4_Y_Vel
        {
            get { return _Insp4_Y_Vel; }
            set
            {
                _Insp4_Y_Vel = value;
                if (_Insp4_Y_Vel > 300)
                {
                    _Insp4_Y_Vel = 300;
                }
                if (_Insp4_Y_Vel < 10)
                {
                    _Insp4_Y_Vel = 10;
                }
            }
        }
        private double _Insp1_RM_Z_Vel;
        [DisplayName("30.Insp1_RM_Z轴运转速度"), Description("Insp1_RM_Z轴(力控)运转速度(mm/s)")]    
        public double Insp1_RM_Z_Vel
        {
            get { return _Insp1_RM_Z_Vel; }
            set
            {
                _Insp1_RM_Z_Vel = value;
                if (_Insp1_RM_Z_Vel > 300)
                {
                    _Insp1_RM_Z_Vel = 300;
                }
                if (_Insp1_RM_Z_Vel < 10)
                {
                    _Insp1_RM_Z_Vel = 10;
                }
            }
        }
        private double _Insp1_RM_Pressure;
        [DisplayName("31.Insp1_RM(力控)压力"), Description("Insp1_RM_Z轴(力控)压力(N),2<= N <=30")]
        public double Insp1_RM_Pressure
        {
            get { return _Insp1_RM_Pressure; }
            set
            {
                _Insp1_RM_Pressure = value;
                if (_Insp1_RM_Pressure > 30)
                {
                    _Insp1_RM_Pressure = 30;
                }
                if (_Insp1_RM_Pressure < 2)
                {
                    _Insp1_RM_Pressure = 2;
                }
            }
        }
        //private double _Insp2_RM_Z_Vel;
        //[DisplayName("32.Insp2_RM_Z轴运转速度"), Description("Insp2_RM_Z轴(力控)运转速度(mm/s)")]
        //public double Insp2_RM_Z_Vel
        //{
        //    get { return _Insp2_RM_Z_Vel; }
        //    set
        //    {
        //        _Insp2_RM_Z_Vel = value;
        //        if (_Insp2_RM_Z_Vel > 300)
        //        {
        //            _Insp2_RM_Z_Vel = 300;
        //        }
        //        if (_Insp2_RM_Z_Vel < 10)
        //        {
        //            _Insp2_RM_Z_Vel = 10;
        //        }
        //    }
        //}
        private double _Insp2_RM_Pressure;
        [DisplayName("33.Insp2_RM(力控)压力"), Description("Insp2_RM_Z轴(力控)压力(N),2<= N <=30")]
        public double Insp2_RM_Pressure
        {
            get { return _Insp2_RM_Pressure; }
            set
            {
                _Insp2_RM_Pressure = value;
                if (_Insp2_RM_Pressure > 30)
                {
                    _Insp2_RM_Pressure = 30;
                }
                if (_Insp2_RM_Pressure < 2)
                {
                    _Insp2_RM_Pressure = 2;
                }
            }
        }
        //private double _Insp3_RM_Z_Vel;
        //[DisplayName("34.Insp3_RM_Z轴运转速度"), Description("Insp3_RM_Z轴(力控)运转速度(mm/s)")]
        //public double Insp3_RM_Z_Vel
        //{
        //    get { return _Insp3_RM_Z_Vel; }
        //    set
        //    {
        //        _Insp3_RM_Z_Vel = value;
        //        if (_Insp3_RM_Z_Vel > 300)
        //        {
        //            _Insp3_RM_Z_Vel = 300;
        //        }
        //        if (_Insp3_RM_Z_Vel < 10)
        //        {
        //            _Insp3_RM_Z_Vel = 10;
        //        }
        //    }
        //}
        private double _Insp3_RM_Pressure;
        [DisplayName("35.Insp3_RM(力控)压力"), Description("Insp3_RM_Z轴(力控)压力(N),2<= N <=30")]
        public double Insp3_RM_Pressure
        {
            get { return _Insp3_RM_Pressure; }
            set
            {
                _Insp3_RM_Pressure = value;
                if (_Insp3_RM_Pressure > 30)
                {
                    _Insp3_RM_Pressure = 30;
                }
                if (_Insp3_RM_Pressure < 2)
                {
                    _Insp3_RM_Pressure = 2;
                }
            }
        }
        //private double _Insp4_RM_Z_Vel;
        //[DisplayName("36.Insp4_RM_Z轴运转速度"), Description("Insp4_RM_Z轴(力控)运转速度(mm/s)")]
        //public double Insp4_RM_Z_Vel
        //{
        //    get { return _Insp4_RM_Z_Vel; }
        //    set
        //    {
        //        _Insp4_RM_Z_Vel = value;
        //        if (_Insp4_RM_Z_Vel > 300)
        //        {
        //            _Insp4_RM_Z_Vel = 300;
        //        }
        //        if (_Insp4_RM_Z_Vel < 10)
        //        {
        //            _Insp4_RM_Z_Vel = 10;
        //        }
        //    }
        //}
        private double _Insp4_RM_Pressure;
        [DisplayName("37.Insp4_RM(力控)压力"), Description("Insp4_RM_Z轴(力控)压力(N),2<= N <=30")]
        public double Insp4_RM_Pressure
        {
            get { return _Insp4_RM_Pressure; }
            set
            {
                _Insp4_RM_Pressure = value;
                if (_Insp4_RM_Pressure > 30)
                {
                    _Insp4_RM_Pressure = 30;
                }
                if (_Insp4_RM_Pressure < 2)
                {
                    _Insp4_RM_Pressure = 2;
                }
            }
        }

#if false

        #region OLD

        private double _EfemX = 100;
        [DisplayName("10.Efem X轴运转速度"), Description("Efem X轴运转速度(mm/s)")]
        public double Efem_X
        {
            get { return _EfemX; }
            set
            {
                _EfemX = value;
                if (_EfemX > 300)
                {
                    _EfemX = 300;
                }
                if (_EfemX < 5)
                {
                    _EfemX = 5;
                }
            }
        }
        private double _ExcSTY = 50;
        [DisplayName("20.倒膜平台 Y轴运转速度"), Description("倒膜平台 Y轴运转速度(mm/s)")]
        public double ExcST_Y
        {
            get { return _ExcSTY; }
            set
            {
                _ExcSTY = value;
                if (_ExcSTY > 500)
                {
                    _ExcSTY = 500;
                }
                if (_ExcSTY < 5)
                {
                    _ExcSTY = 5;
                }
            }
        }
        private double _ExcSTR = 10;
        [DisplayName("21.倒膜平台 R轴运转速度"), Description("倒膜平台 R轴运转速度(°/s)")]
        public double ExcST_R
        {
            get { return _ExcSTR; }
            set
            {
                _ExcSTR = value;
                if (_ExcSTR > 240)
                {
                    _ExcSTR = 240;
                }
                if (_ExcSTR < 1)
                {
                    _ExcSTR = 1;
                }
            }
        }

        private double _ExcCCD = 50;
        [DisplayName("22.倒膜平台 CCD轴运转速度"), Description("倒膜平台 CCD轴运转速度(mm/s)")]
        public double Exc_CCD
        {
            get { return _ExcCCD; }
            set
            {
                _ExcCCD = value;
                if (_ExcCCD > 500)
                {
                    _ExcCCD = 500;
                }
                if (_ExcCCD < 5)
                {
                    _ExcCCD = 5;
                }
            }
        }

        private double _ExcTRX = 50;
        [DisplayName("30.倒膜移载 X轴运转速度"), Description("倒膜移载 X轴运转速度(mm/s)")]
        public double ExcTR_X
        {
            get { return _ExcTRX; }
            set
            {
                _ExcTRX = value;
                if (_ExcTRX > 500)
                {
                    _ExcTRX = 500;
                }
                if (_ExcTRX < 5)
                {
                    _ExcTRX = 5;
                }
            }
        }

        private double _ExcTRZ = 10;
        [DisplayName("31.倒膜移载 Z轴运转速度"), Description("倒膜移载 Z轴运转速度(mm/s)")]
        public double ExcTR_Z
        {
            get { return _ExcTRZ; }
            set
            {
                _ExcTRZ = value;
                if (_ExcTRZ > 150)
                {
                    _ExcTRZ = 150;
                }
                if (_ExcTRZ < 5)
                {
                    _ExcTRZ = 5;
                }
            }
        }

        private double _ExcTRR = 10;
        [DisplayName("32.倒膜移载 R轴运转速度"), Description("倒膜移载 R轴运转速度(°/s)")]
        public double ExcTR_R
        {
            get { return _ExcTRR; }
            set
            {
                _ExcTRR = value;
                if (_ExcTRR > 240)
                {
                    _ExcTRR = 240;
                }
                if (_ExcTRR < 1)
                {
                    _ExcTRR = 1;
                }
            }
        }
        private double _SortSTX = 10;
        [DisplayName("40.挑拣平台 X轴运转速度"), Description("挑拣平台 X轴运转速度(mm/s)")]
        public double SortST_X
        {
            get { return _SortSTX; }
            set
            {
                _SortSTX = value;
                if (_SortSTX > 300)
                {
                    _SortSTX = 300;
                }
                if (_SortSTX < 5)
                {
                    _SortSTX = 5;
                }
            }
        }

        [DisplayName("41.挑拣平台 Y轴运转速度"), Description("挑拣平台 Y轴运转速度(mm/s)")]
        public double SortST_Y
        {
            get { return _SortSTX; }
            set
            {
                _SortSTX = value;
                if (_SortSTX > 300)
                {
                    _SortSTX = 300;
                }
                if (_SortSTX < 5)
                {
                    _SortSTX = 5;
                }
            }
        }

        private double _SortSTR = 5;
        [DisplayName("42.挑拣平台 R轴运转速度"), Description("挑拣平台 R轴运转速度(°/s)")]
        public double SortST_R
        {
            get { return _SortSTR; }
            set
            {
                _SortSTR = value;
                if (_SortSTR > 240)
                {
                    _SortSTR = 240;
                }
                if (_SortSTR < 1)
                {
                    _SortSTR = 1;
                }
            }
        }

        private double _SortSTMapping = 5;
        [DisplayName("43.挑拣平台 Mapping速度"), Description("挑拣平台 Mapping速度(mm/s)")]
        public double SortST_Mapping
        {
            get { return _SortSTMapping; }
            set
            {
                _SortSTMapping = value;
                if (_SortSTMapping > 120)
                {
                    _SortSTMapping = 120;
                }
                if (_SortSTMapping < 5)
                {
                    _SortSTMapping = 5;
                }
            }
        }

        private double _LDTRR = 5;
        [DisplayName("50.载入移载 R轴运转速度"), Description("载入移载 R轴运转速度(°/s)")]
        public double LDTR_R
        {
            get { return _LDTRR; }
            set
            {
                _LDTRR = value;
                if (_LDTRR > 360)
                {
                    _LDTRR = 360;
                }
                if (_LDTRR < 1)
                {
                    _LDTRR = 1;
                }
            }
        }
        private double _LDTR1Z = 5;
        [DisplayName("51.载入移载1 Z轴运转速度"), Description("载入移载1 Z轴运转速度(mm/s)")]
        public double LDTR_1_Z
        {
            get { return _LDTR1Z; }
            set
            {
                _LDTR1Z = value;
                if (_LDTR1Z > 20)
                {
                    _LDTR1Z = 20;
                }
                if (_LDTR1Z < 1)
                {
                    _LDTR1Z = 1;
                }
            }
        }
        private double _LDTR1R = 5;
        [DisplayName("52.载入移载1 R轴运转速度"), Description("载入移载1 R轴运转速度(°/s)")]
        public double LDTR_1_R
        {
            get { return _LDTR1R; }
            set
            {
                _LDTR1R = value;
                if (_LDTR1R > 480)
                {
                    _LDTR1R = 480;
                }
                if (_LDTR1R < 1)
                {
                    _LDTR1R = 1;
                }
            }
        }
        private double _LDTR2Z = 5;
        [DisplayName("53.载入移载2 Z轴运转速度"), Description("载入移载2 Z轴运转速度(mm/s)")]
        public double LDTR_2_Z
        {
            get { return _LDTR2Z; }
            set
            {
                _LDTR2Z = value;
                if (_LDTR2Z > 20)
                {
                    _LDTR2Z = 20;
                }
                if (_LDTR2Z < 1)
                {
                    _LDTR2Z = 1;
                }
            }
        }
        private double _LDTR2R = 5;
        [DisplayName("54.载入移载2 R轴运转速度"), Description("载入移载2 R轴运转速度(°/s)")]
        public double LDTR_2_R
        {
            get { return _LDTR2R; }
            set
            {
                _LDTR2R = value;
                if (_LDTR2R > 480)
                {
                    _LDTR2R = 480;
                }
                if (_LDTR2R < 1)
                {
                    _LDTR2R = 1;
                }
            }
        }
        private double _ULDTRR = 5;
        [DisplayName("60.载出移载 R轴运转速度"), Description("载出移载 R轴运转速度(°/s)")]
        public double ULDTR_R
        {
            get { return _ULDTRR; }
            set
            {
                _ULDTRR = value;
                if (_ULDTRR > 360)
                {
                    _ULDTRR = 360;
                }
                if (_ULDTRR < 1)
                {
                    _ULDTRR = 1;
                }
            }
        }
        private double _ULDTR1Z = 5;
        [DisplayName("61.载出移载1 Z轴运转速度"), Description("载出移载1 Z轴运转速度(mm/s)")]
        public double ULDTR_1_Z
        {
            get { return _ULDTR1Z; }
            set
            {
                _ULDTR1Z = value;
                if (_ULDTR1Z > 20)
                {
                    _ULDTR1Z = 20;
                }
                if (_ULDTR1Z < 1)
                {
                    _ULDTR1Z = 1;
                }
            }
        }
        private double _ULDTR1R = 5;
        [DisplayName("62.载出移载1 R轴运转速度"), Description("载出移载1 R轴运转速度(°/s)")]
        public double ULDTR_1_R
        {
            get { return _ULDTR1R; }
            set
            {
                _ULDTR1R = value;
                if (_ULDTR1R > 120)
                {
                    _ULDTR1R = 120;
                }
                if (_ULDTR1R < 1)
                {
                    _ULDTR1R = 1;
                }
            }
        }
        private double _ULDTR2Z = 5;
        [DisplayName("63.载出移载2 Z轴运转速度"), Description("载出移载2 Z轴运转速度(mm/s)")]
        public double ULDTR_2_Z
        {
            get { return _ULDTR2Z; }
            set
            {
                _ULDTR2Z = value;
                if (_ULDTR2Z > 20)
                {
                    _ULDTR2Z = 20;
                }
                if (_ULDTR2Z < 1)
                {
                    _ULDTR2Z = 1;
                }
            }
        }
        private double _ULDTR2R = 5;
        [DisplayName("64.载出移载2 R轴运转速度"), Description("载出移载2 R轴运转速度(°/s)")]
        public double ULDTR_2_R
        {
            get { return _ULDTR2R; }
            set
            {
                _ULDTR2R = value;
                if (_ULDTR2R > 120)
                {
                    _ULDTR2R = 120;
                }
                if (_ULDTR2R < 1)
                {
                    _ULDTR2R = 1;
                }
            }
        }

        private double _LaserSTR = 5;
        [DisplayName("70.镭射平台 R轴运转速度"), Description("镭射平台 R轴运转速度(°/s)")]
        public double LaserST_R
        {
            get { return _LaserSTR; }
            set
            {
                _LaserSTR = value;
                if (_LaserSTR > 360)
                {
                    _LaserSTR = 360;
                }
                if (_LaserSTR < 1)
                {
                    _LaserSTR = 1;
                }
            }
        }

        private double _ULDSTX = 10;
        [DisplayName("80.载出平台 X轴运转速度"), Description("载出平台 X轴运转速度(mm/s)")]
        public double ULDST_X
        {
            get { return _ULDSTX; }
            set
            {
                _ULDSTX = value;
                if (_ULDSTX > 300)
                {
                    _ULDSTX = 300;
                }
                if (_ULDSTX < 5)
                {
                    _ULDSTX = 5;
                }
            }
        }

        [DisplayName("81.载出平台 Y轴运转速度"), Description("载出平台 Y轴运转速度(mm/s)")]
        public double ULDST_Y
        {
            get { return _ULDSTX; }
            set
            {
                _ULDSTX = value;
                if (_ULDSTX > 300)
                {
                    _ULDSTX = 300;
                }
                if (_ULDSTX < 5)
                {
                    _ULDSTX = 5;
                }
            }
        }

        private double _ULDSTLD = 10;
        [DisplayName("82.载出平台 装载速度"), Description("载出平台 装载速度(mm/s)")]
        public double ULDST_LD
        {
            get { return _ULDSTLD; }
            set
            {
                _ULDSTLD = value;
                if (_ULDSTLD > 50)
                {
                    _ULDSTLD = 50;
                }
                if (_ULDSTLD < 5)
                {
                    _ULDSTLD = 5;
                }
            }
        }

        private double _ULDSTExt = 10;
        [DisplayName("83.载出平台 推拉Y轴运转速度"), Description("载出平台 推拉Y轴运转速度(mm/s)")]
        public double ULDST_Ext
        {
            get { return _ULDSTExt; }
            set
            {
                _ULDSTExt = value;
                if (_ULDSTExt > 300)
                {
                    _ULDSTExt = 300;
                }
                if (_ULDSTExt < 5)
                {
                    _ULDSTExt = 5;
                }
            }
        }
        private double _ULDPort_Z_L = 5;
        [DisplayName("84.TrayPort 载出Z轴运转速度"), Description("TrayPort 载出Z轴运转速度(mm/s)")]
        public double ULDPort_Z_L
        {
            get { return _ULDPort_Z_L; }
            set
            {
                _ULDPort_Z_L = value;
                if (_ULDPort_Z_L > 300)
                {
                    _ULDPort_Z_L = 300;
                }
                if (_ULDPort_Z_L < 5)
                {
                    _ULDPort_Z_L = 5;
                }
            }
        }
        [DisplayName("85.TrayPort 载入Z轴运转速度"), Description("TrayPort 载入Z轴运转速度(mm/s)")]
        public double ULDPort_Z_R
        {
            get { return _ULDPort_Z_L; }
            set
            {
                _ULDPort_Z_L = value;
                if (_ULDPort_Z_L > 300)
                {
                    _ULDPort_Z_L = 300;
                }
                if (_ULDPort_Z_L < 5)
                {
                    _ULDPort_Z_L = 5;
                }
            }
        }

        private double _CCD_1 = 1;
        [DisplayName("90.挑拣精对位 CCD轴运转速度"), Description("挑拣精对位 CCD轴运转速度(mm/s)")]
        public double CCD_1
        {
            get { return _CCD_1; }
            set
            {
                _CCD_1 = value;
                if (_CCD_1 > 5)
                {
                    _CCD_1 = 5;
                }
                if (_CCD_1 < 1)
                {
                    _CCD_1 = 1;
                }
            }
        }
        private double _CCD_2 = 1;
        [DisplayName("91.镭射上对位 CCD轴运转速度"), Description("镭射上对位 CCD轴运转速度(mm/s)")]
        public double CCD_2
        {
            get { return _CCD_2; }
            set
            {
                _CCD_2 = value;
                if (_CCD_2 > 5)
                {
                    _CCD_2 = 5;
                }
                if (_CCD_2 < 1)
                {
                    _CCD_2 = 1;
                }
            }
        }

        private double _CCD_3 = 1;
        [DisplayName("92.镭射侧对位 CCD轴运转速度"), Description("镭射侧对位 CCD轴运转速度(mm/s)")]
        public double CCD_3
        {
            get { return _CCD_3; }
            set
            {
                _CCD_3 = value;
                if (_CCD_3 > 5)
                {
                    _CCD_3 = 5;
                }
                if (_CCD_3 < 1)
                {
                    _CCD_3 = 1;
                }
            }
        }

        private double _CCD_4 = 1;
        [DisplayName("93.镭射检查 CCD轴运转速度"), Description("镭射检查 CCD轴运转速度(mm/s)")]
        public double CCD_4
        {
            get { return _CCD_4; }
            set
            {
                _CCD_4 = value;
                if (_CCD_4 > 5)
                {
                    _CCD_4 = 5;
                }
                if (_CCD_4 < 1)
                {
                    _CCD_4 = 1;
                }
            }
        }

        private double _CCD_5 = 1;
        [DisplayName("94.载出平台初对位 CCD轴运转速度"), Description("载出平台初对位 CCD轴运转速度(mm/s)")]
        public double CCD_5
        {
            get { return _CCD_5; }
            set
            {
                _CCD_5 = value;
                if (_CCD_5 > 5)
                {
                    _CCD_5 = 5;
                }
                if (_CCD_5 < 1)
                {
                    _CCD_5 = 1;
                }
            }
        }

        private double _CCD_6 = 1;
        [DisplayName("95.载出平台精对位 CCD轴运转速度"), Description("载出平台精对位 CCD轴运转速度(mm/s)")]
        public double CCD_6
        {
            get { return _CCD_6; }
            set
            {
                _CCD_6 = value;
                if (_CCD_6 > 5)
                {
                    _CCD_6 = 5;
                }
                if (_CCD_6 < 1)
                {
                    _CCD_6 = 1;
                }
            }
        }

        #endregion

#endif
        public override string ToString()
        {
            return "...";
        }
    }
}
